#define _CRT_SECURE_NO_WARNINGS 1
#include"SList.h"

int main()
{
	SL s;
	SLInit(&s);
	SLPushBack(&s, 1);
	SLPushBack(&s, 2);
	SLPushBack(&s, 3);
	SLPushBack(&s, 4);
	SLPushBack(&s, 5);
	ModifySL(&s, 3,8);
	//SLPushFront(&s, 5);
	//SLPopFront(&s, 0);
	//SLPopBack(&s,0)
	/*SLPushBack(&s, 6);
	SLPushBack(&s, 6);
	SLPushBack(&s, 6);
	SLPushBack(&s, 6);*/
	SLPrint(&s);
	/*SLFind(&s, 5);
	SLPrint(&s);*/
	SLDestory(&s);

	return 0;
}